package com.ttg.utils;

//~--- non-JDK imports --------------------------------------------------------

import com.ttg.config.Properties;

//~--- classes ----------------------------------------------------------------

/**
 * Class OrderKit
 * Description 生成订单号工具
 * Create 2016-07-21 11:05:34
 * @author Ardy
 */
public class OrderKit {

    /**
     * Method gen16Id
     * Description 说明：
     *
     * @return 返回值说明：
     */
    public static String gen16Id() {
        if (DataUtil.isEmpty(IdUtils.getInstanceId())) {
            IdUtils.setInstanceId(Properties.TEST.getString("MACHINE_ID"));
        }

        return IdUtils.genOrdId16();
    }
}


//~ Formatted by Jindent --- http://www.jindent.com
